
#include "game_controller\headers\game_controller_objects_creator.hpp"

#include "game_model\ih\game_model_iobject_factory.hpp"

namespace GameController {


ObjectCreator::ObjectCreator( std::shared_ptr< GameModel::IObjectFactory > _gameModelFactory )
	:	m_gameModelFactory( _gameModelFactory )
{
}


ObjectCreator::~ObjectCreator()
{
}


GameModel::IObject::Ptr
ObjectCreator::createUnmovingObject( std::shared_ptr< ResourceController::ObjectDescriber > _objectDescriber )
{
	return m_gameModelFactory->createUnmovableObject( _objectDescriber );
}


} // namespace GameController